/**
 * @Description:
 * @Author bianpengfei
 * @create 2021/6/25 16:12
 */
import React, { PureComponent } from 'react'
import PropTypes from 'prop-types'

class A extends PureComponent {
  constructor(props) {
    super(props)
    this.state = {
      id: 1,
      userName: '蔡徐坤',
      tip: '提示内容'
    }
  }

  render() {
    return <div className={'a'}>{this.props.render(this.state)}</div>
  }
}

A.propTypes = {}

export default A
